import { ref } from 'vue'


const paginationParams = ref({
  total: 0,
  pageNum: 1,
  pageSize: 10,
})


const orderSelect = [
  {
    label: '试题简称',
    model: 'name',
    placeholder: '请输入',
    type: 'input'
  },
  {
    label: '题目',
    model: 'topic',
    placeholder: '请输入',
    type: 'input'
  },
  { 
    label: '品种',
    model: 'drugId',
    type: 'select',
    selectData: []
  },
  { 
    label: '分类',
    model: 'kind',
    type: 'select',
    selectData: []
  },
  { 
    label: '题型',
    model: 'type',
    type: 'select',
    selectData: [
      {
        label: '单选',
        value: 0
      },
      {
        label: '不定项选择',
        value: 1
      }
    ]
  },
  {
    label: '对象',
    model: 'objectType',
    placeholder: '请选择',
    type: 'select',
    dict: 'paper_object_ype',
    required: true,
    disabled: false,
    message: '请选择对象',
    selectData: []
  },
  { 
    label: '状态',
    model: 'status',
    type: 'select',
    selectData: []
  }
]
export default { paginationParams, orderSelect }

